// ==UserScript==
// @name xq139.qwzs
// @author wgu
// @description  xq139.qwzs
// @include http://xq.139life.com/frontSurvey/question_view.jsp?subjectId=1345545*
// @include http://xq.139life.com/frontSurvey/standardTemplated.jsp?subjectId=1345545*
// @include http://xq.139life.com/frontSurvey/success.jsp?subjectId=1345545*
// ==/UserScript==

console.log('load');
(function($){
	if(location.href.indexOf('question_view.jsp')!=-1){
		setTimeout("location='http://xq.139life.com/frontSurvey/standardTemplated.jsp?subjectId=1345545';",2000);
	}else if (location.href.indexOf('standardTemplated.jsp')!=-1){
		$('[value=24582],[value=24583],[value=24588],[value=24591]').click();
		$('[name=questionItem5]').val(String.fromCharCode(22870, 21697, 35201, 20132, 31246, 44, 26377, 30340, 21644, 23454, 38469, 28120, 23453, 20215, 26684, 20986, 20837, 24456, 22823, 12290, 12290, 22870, 21697, 25163, 26426, 19981, 21040, 49, 19968, 20010, 26376, 23601, 22351, 20102));
		setTimeout(subQuestion,5000);
	}else if (location.href.indexOf('success.jsp')!=-1){
		setTimeout("location='http://xq.139life.com/frontSurvey/question_view.jsp?subjectId=1345545';",2000);
	}
})(jQuery);

